Current File : /home/jeconsul/public_html/wp-content/plugins/sureforms/inc/blocks/multichoice/block.json |
{
"apiVersion": 2,
"name": "srfm/multi-choice",
"title": "Multiple Choice",
"description": "Displays a SureForms Multi-Choice Field",
"category": "sureforms",
"keywords": [ "multi-choice", "quiz", "multi", "sureforms" ],
"textdomain": "sureforms",
"supports": {
"reusable": false,
"html": false
},
"example": {
"attributes": {
"preview": true
}
},
"attributes": {
"preview": {
"type": "boolean",
"default": false
},
"block_id": {
"type": "string"
},
"required": {
"type": "boolean"
},
"singleSelection": {
"type": "boolean"
},
"minValue": {
"type": "number"
},
"maxValue": {
"type": "number"
},
"verticalLayout": {
"type": "boolean"
},
"options": {
"type": "array",
"default": [
{
"optionTitle": "Option 1",
"icon": "",
"image": ""
}
]
},
"fieldWidth": {
"type": "number",
"default": 100
},
"choiceWidth": {
"type": "number",
"default": 50
},
"label": {
"default": "Multi Choice",
"type": "string",
"selector": "input"
},
"help": {
"type": "string",
"default": ""
},
"style": {
"type": "string",
"default": "buttons"
},
"errorMsg": {
"type": "string",
"default": ""
},
"formId": {
"type": "number",
"default": ""
},
"isConditionalLogic":{
"type":"boolean",
"default":false
},
"slug":{
"type":"string",
"default":""
},
"optionType": {
"type": "string",
"default": "icon"
}
}
}